//
//  YYJLNewCell.m
//  YuanyangJinlou
//
//  Created by mac004 on 2016/12/29.
//  Copyright © 2016年 suli19910309@qq.com. All rights reserved.
//

#import "YYJLNewCell.h"

@implementation YYJLNewCell
-(instancetype)initWithFrame:(CGRect)frame{
    if (self=[super initWithFrame:frame]) {
        [self creatUI];
    }return self;
}

-(void)creatUI{
    
    UIImageView*_bgView=[MyControl createImageViewWithFrame:self.bounds ImageName:@"bg_xinpin"];
    [self addSubview:_bgView];
    self.picImg=[[UIImageView alloc]initWithFrame:CGRectMake(7.5*PER_WIDTH,17*PER_HEIGHT, 160*PER_WIDTH, 160*PER_HEIGHT)];
    _picImg.image=[UIImage imageNamed:@"img_xinpin1"];
    [_bgView addSubview:_picImg];
    
    self.titleLabel=[MyControl createLabelWithFrame:CGRectMake(_picImg.left, _picImg.bottom+15*PER_HEIGHT, _picImg.width, 13*PER_HEIGHT) Font:13 Text:@"你妹的测试测试"];
    _titleLabel.textColor=UIColorFromHex(0x333333);
    _titleLabel.numberOfLines=2;
    [self addSubview:_titleLabel];
    
   
}

@end
